﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JU.MODEL
{
    public class User
    {
        /// <summary>
        /// 用户列表Id。自增，起始值为1，增长值为1
        /// </summary>		
        private int _userid;
        public int UserId
        {
            get { return _userid; }
            set { _userid = value; }
        }

        /// <summary>
        /// LoginId
        /// </summary>		
        private int _loginid;
        public int LoginId
        {
            get { return _loginid; }
            set { _loginid = value; }
        }

        /// <summary>
        /// 用户名
        /// </summary>		
        private string _username;
        public string UserName
        {
            get { return _username; }
            set { _username = value; }
        }

        /// <summary>
        /// 用户邮箱，默认为空
        /// </summary>		
        private string _email;
        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }

        /// <summary>
        /// 用户手机号码，默认为空
        /// </summary>		
        private string _phone;
        public string Phone
        {
            get { return _phone; }
            set { _phone = value; }
        }

        /// <summary>
        /// 用户生日
        /// </summary>		
        private DateTime _birthday;
        public DateTime Birthday
        {
            get { return _birthday; }
            set { _birthday = value; }
        }

        /// <summary>
        /// 用户所在省份，默认为0，意为未填
        /// </summary>		
        private int _privinceid;
        public int PrivinceId
        {
            get { return _privinceid; }
            set { _privinceid = value; }
        }

        /// <summary>
        /// 用户所在城市，默认为0，意为未填
        /// </summary>		
        private int _cityid;
        public int CityId
        {
            get { return _cityid; }
            set { _cityid = value; }
        }

        /// <summary>
        /// 用户头像所在地址
        /// </summary>		
        private string _imagepath;
        public string ImagePath
        {
            get { return _imagepath; }
            set { _imagepath = value; }
        }
    }
}
